@charset "UTF-8";
.big-box {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  display: flex;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  /* 语音识别布局 - 圆圈与字幕框 */
  /* 垂直栈，自动根据内容高度分布，避免重叠 */
}

.big-box .title {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  padding: 12px 24px;
  border: 2px solid rgba(0, 212, 255, 0.8);
  border-radius: 12px;
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 153, 204, 0.1) 50%, rgba(0, 212, 255, 0.15) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  cursor: default;
}

.big-box .title:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) translateY(-2px);
}

.big-box .title::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: linear-gradient(90deg, transparent 0%, transparent 45%, rgba(255, 255, 255, 0.4) 50%, transparent 55%, transparent 100%);
  background-size: 200% 100%;
  animation: scanLine 4s ease-in-out infinite;
  border-radius: 4px;
  overflow: hidden;
}

.big-box .title::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(0, 212, 255, 0.6), rgba(255, 255, 255, 0.3), rgba(0, 212, 255, 0.6));
  background-size: 200% 200%;
  z-index: -1;
  border-radius: 14px;
  filter: blur(4px);
  animation: borderGlow 3s ease-in-out infinite;
}

.big-box .perpoect {
  width: 35%;
  height: 100%;
  margin-right: 100px;
  position: relative;
  z-index: 1;
}

.big-box .perpoect .ant-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 212, 255, 0.6);
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  height: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-box .perpoect .ant-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
}

.big-box .perpoect .ant-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.big-box .perpoect .ant-btn:focus {
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.big-box .perpoect .ant-select .ant-select-selector {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 2px solid rgba(0, 212, 255, 0.6) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2) !important;
}

.big-box .perpoect .ant-select .ant-select-selection-item {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-align: center;
}

.big-box .perpoect .ant-select .ant-select-arrow {
  color: #00d4ff !important;
  font-size: 16px !important;
}

.big-box .perpoect .ant-select:hover .ant-select-selector {
  border-color: #00d4ff !important;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4) !important;
}

.big-box .perpoect .ant-select.ant-select-focused .ant-select-selector {
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
}

.big-box .perpoect .ant-select-dropdown {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 212, 255, 0.6) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4) !important;
  overflow: hidden;
}

.big-box .perpoect .ant-select-dropdown .ant-select-item {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  padding: 14px 20px !important;
  margin: 2px 8px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.big-box .perpoect .ant-select-dropdown .ant-select-item.ant-select-item-option-selected {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(0, 153, 204, 0.3)) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(0, 212, 255, 0.8) !important;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4) !important;
  position: relative;
}

.big-box .perpoect .ant-select-dropdown .ant-select-item.ant-select-item-option-selected::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #00d4ff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px #00d4ff;
}

.big-box .perpoect .ant-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.big-box .perpoect .ant-select-dropdown::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.big-box .perpoect .ant-select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.6);
  border-radius: 3px;
}

.big-box .perpoect .ant-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.8);
}

.big-box .video-box {
  width: 1000px;
  height: 500px;
  background: transparent;
  margin-top: 200px;
  position: relative;
  border-radius: 10px;
}

.big-box .video-box .video-border {
  width: 100%;
  height: 100%;
  position: relative;
  /* 作为定位上下文 */
  background-repeat: no-repeat;
  /* 不平铺 */
  background-position: center;
  /* 居中 */
  background-size: 100% 100%;
  /* 铺满盒子 */
  border-radius: 10px;
}

.big-box .video-box .video-border .video {
  position: absolute;
  inset: 10% 4% 10% 5%;
  /* 内缩，避免盖住边框，可按需微调 */
  width: 89%;
  height: 80%;
  max-width: 92%;
  max-height: 82%;
  object-fit: cover;
  border-radius: 30px;
  z-index: 1;
}

.big-box .video-box .video-border .danmaku-container {
  position: absolute;
  inset: 10% 6% 10% 5%;
  width: auto;
  height: auto;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 30px;
}

.big-box .sr-container {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.big-box .sr-circle {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.85);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 5;
  pointer-events: auto;
  transition: background .2s, box-shadow .2s, transform .1s;
}

.big-box .sr-circle.idle {
  background: rgba(0, 0, 0, 0.35);
}

.big-box .sr-circle.recording {
  background: rgba(255, 0, 0, 0.35);
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.45);
}

.big-box .sr-circle.busy {
  background: rgba(255, 165, 0, 0.35);
  box-shadow: 0 0 22px rgba(255, 165, 0, 0.45);
}

.big-box .sr-panel {
  width: 520px;
  min-height: 48px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(6, 14, 24, 0.72);
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.15), inset 0 0 0 1px rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  pointer-events: auto;
}

.big-box .sr-stack {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 155px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 4;
  pointer-events: auto;
}

.big-box .sr-stack .sr-panel {
  pointer-events: auto;
}

.big-box .button-group {
  position: absolute;
  top: 120px;
  right: 100px;
  z-index: 1000;
  display: flex;
  gap: 12px;
}

.big-box .language-change-btn {
  position: relative;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 212, 255, 0.6);
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
  letter-spacing: 0.5px;
  min-width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-box .language-change-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
}

.big-box .language-change-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.big-box .language-change-btn:focus {
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.big-box .language-change-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.big-box .skin-change-btn {
  position: relative;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(0, 212, 255, 0.6);
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
  letter-spacing: 0.5px;
  min-width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-box .skin-change-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
}

.big-box .skin-change-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.big-box .skin-change-btn:focus {
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.big-box .skin-change-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.big-box .exit-btn {
  position: relative;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 107, 107, 0.6);
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
  letter-spacing: 0.5px;
  min-width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-box .exit-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 107, 107, 0.8);
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
  transform: translateY(-1px);
}

.big-box .exit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.big-box .exit-btn:focus {
  border-color: rgba(255, 107, 107, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.big-box .exit-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.big-box .danmaku-control {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80%;
  max-width: 720px;
}

.big-box .danmaku-control .danmaku-toggle-btn,
.big-box .danmaku-control .danmaku-settings-btn,
.big-box .danmaku-control .danmaku-clear-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  border: 2px solid #ff6b6b;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.big-box .danmaku-control .danmaku-toggle-btn:hover,
.big-box .danmaku-control .danmaku-settings-btn:hover,
.big-box .danmaku-control .danmaku-clear-btn:hover {
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  border-color: #ff5252;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
  transform: translateY(-1px);
}

.big-box .danmaku-control .danmaku-toggle-btn.disabled,
.big-box .danmaku-control .danmaku-settings-btn.disabled,
.big-box .danmaku-control .danmaku-clear-btn.disabled {
  background: linear-gradient(135deg, #666, #555);
  border-color: #666;
  box-shadow: 0 2px 8px rgba(102, 102, 102, 0.3);
}

.big-box .danmaku-control .danmaku-settings-panel {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 107, 107, 0.6);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  min-width: 250px;
}

.big-box .danmaku-control .danmaku-settings-panel .setting-item {
  margin-bottom: 15px;
}

.big-box .danmaku-control .danmaku-settings-panel .setting-item label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 5px;
}

.big-box .danmaku-control .danmaku-settings-panel .setting-item input[type="range"] {
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
  outline: none;
}

.big-box .danmaku-control .danmaku-settings-panel .setting-item input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #ff6b6b;
  border-radius: 50%;
  cursor: pointer;
}

.big-box .danmaku-control .danmaku-send-panel {
  background: rgba(6, 14, 24, 0.72);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.15), inset 0 0 0 1px rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 0;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.big-box .danmaku-control .danmaku-send-panel input[type="text"] {
  width: 40%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  margin: 0;
}

.big-box .danmaku-control .danmaku-send-panel input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.big-box .danmaku-control .danmaku-send-panel input[type="text"]:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls {
  display: flex;
  gap: 8px;
  margin: 0;
  align-items: center;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls input[type="color"] {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls select {
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls select option {
  background: #333;
  color: #ffffff;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls input[type="range"] {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-style-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #00d4ff;
  border-radius: 50%;
  cursor: pointer;
}

.big-box .danmaku-control .danmaku-send-panel .emoji-inline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.big-box .danmaku-control .danmaku-send-panel .emoji-toggle {
  padding: 6px 10px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: 1px solid rgba(0, 212, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
}

.big-box .danmaku-control .danmaku-send-panel .emoji-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.big-box .danmaku-control .danmaku-send-panel .emoji-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  background: rgba(6, 14, 24, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 10px;
  padding: 10px;
  width: 300px;
  display: grid;
  grid-template-columns: repeat(6, 36px);
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  z-index: 10;
}

.big-box .danmaku-control .danmaku-send-panel .speed-label {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.big-box .danmaku-control .danmaku-send-panel button {
  padding: 8px 16px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: 1.5px solid rgba(0, 212, 255, 0.7);
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.big-box .danmaku-control .danmaku-send-panel button:hover {
  background: linear-gradient(135deg, #00b8e6, #007aa3);
  border-color: #00b8e6;
  transform: translateY(-1px);
}

.big-box .danmaku-control .danmaku-send-panel .send-btn {
  margin-left: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
}

.big-box .danmaku-control .danmaku-send-panel .input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-bottom: 0px;
}

.big-box .danmaku-control .danmaku-send-panel .danmaku-toggle-btn {
  padding: 8px 12px;
  margin-right: 8px;
}

.big-box .danmaku-control .danmaku-send-panel .input-group input[type="text"] {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .big-box .perpoect {
    width: 50%;
  }
  .big-box .perpoect .ant-select .ant-select-selector {
    font-size: 16px !important;
  }
  .big-box .perpoect .ant-select .ant-select-selection-item {
    font-size: 16px !important;
  }
  .big-box .perpoect .ant-select .ant-select-arrow {
    font-size: 14px !important;
  }
  .big-box .perpoect .ant-select-dropdown .ant-select-item {
    font-size: 14px !important;
    padding: 12px 16px !important;
    margin: 1px 6px !important;
  }
  .big-box .perpoect .ant-select-dropdown .ant-select-item:hover {
    transform: translateX(2px);
  }
  .big-box .button-group {
    top: 10px;
    right: 10px;
    gap: 8px;
  }
  .big-box .language-change-btn,
  .big-box .skin-change-btn,
  .big-box .exit-btn {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 100px;
    height: 40px;
  }
}

@media screen and (max-width: 1200px) {
  .big-box .perpoect {
    width: 40%;
  }
}

@keyframes scanLine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
